package cn.hdu.liang.ch2;

public class MyObject {
    public void methodA() {
        try {
            System.out.println("方法A名字==" + Thread.currentThread().getName());
            Thread.sleep(3000);
            System.out.println("end");
        } catch(InterruptedException e) {
            e.printStackTrace();
        }
    }
}
